import 'package:flutter_eve_plugin/model/health/user_info.dart';

class AccountInfoState {
  AccountInfo accountInfo;
  UserInfoModel userInfoModel;

  AccountInfoState({this.accountInfo, this.userInfoModel});

  AccountInfoState copyWith({accountInfo, userInfoModel}) {
    return AccountInfoState(
        accountInfo: accountInfo ?? this.accountInfo,
        userInfoModel: userInfoModel ?? this.userInfoModel);
  }

  static AccountInfoState initialState() {
    return AccountInfoState(
        accountInfo: AccountInfo(0, '', 0, 0, 0, '', 0, 0, 0, 0, false,
            0,'',0,'',0, null, null,0,'',[],0),
        userInfoModel: UserInfoModel(0, "", "", "", "", "", "", "", 0,0));
  }
}
